from django.urls import path
from . import views

app_name = 'department'
urlpatterns = [
    path('', views.DepartmentList.as_view(), name='index'),
    path('create/', views.create, name='create'),
    path('delete/<int:depart_id>/', views.delete, name='delete'),
    path('update/<int:depart_id>/', views.update, name='update'),
    path('detail/<int:depart_id>/', views.detail, name='detail'),
]
